Pixel Sampler
Map image on to each individual pixels of another image.
Node Data | |
|---|---|
Display name | |
Pixel Sampler | |
Internal name | |
Node_Pixel_Sampler | |
Inheritances | |
| Node_Processor | |
| Node_Pixel_Sampler | |
Inputs | |
Texture | |
surface |
Base Texture |
enum |
Sample Mode |
enum |
Match Mode |
Surface | |
surface |
Surfaces |
gradient |
Gradient |
Rendering | |
enum |
Color Blending |
slider |
Blending Intensity |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
Expands each pixel of the original surface into another surface.
Properties
| Texture | |
| Base Texture | The original surface to expands. |
| Sample Mode | Whether to keep the same dimension as the Base Texture, or multiply dimesion of Base Texture to Surfaces. |
| Match Mode | When using array of Surfaces. Whether to use original pixel brightness to select index in the array. |
| Surface | |
| Surfaces | Surface or array of surfaces that will be draw. |
| Rendering | |
| Color Blending | Blend mode between the original pixel and drawn surface. |
| Blending Intensity | Amount of blending. |
Commit History
| 1.17.3 |
|
|---|
Related Links
- Base Code: /scripts/node_pixel_sampler/node_pixel_sampler.gml
- Shader [sh_pixel_sample]: /shaders/sh_pixel_sample/sh_pixel_sample.fsh